package models;

import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.OneToMany;

@Entity
public class Province extends BaseEntity {
	
	public String code;
	
	public String name;
	
	@OneToMany(mappedBy="province", cascade={CascadeType.ALL})
	public List<City> cityList;

}
